using Newtonsoft.Json;

namespace Betfair.Api
{
    public sealed class Event
    {
        public Event(int id, string name, string countryCode, string timeZone, string venue, string start)
        {
            Id = id;
            Name = name;
            CountryCode = countryCode;
            TimeZone = timeZone;
            Venue = venue;
            Start = start;
        }

        public int Id { get; private set; }
        public string Name { get; private set; }
        public string CountryCode { get; private set; }
        public string TimeZone { get; private set; }
        public string Venue { get; private set; }

        [JsonProperty("openDate")]
        public string Start { get; private set; }
    }
}